package com.itheima.travel.dao;

import com.itheima.travel.domain.Route;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RouteDao {

    List<Route> findByPageByCid(@Param("cid") int cid,@Param("rname") String rname);

    Route findRouteByRid(Integer rid);


    List<Route> findByPage(@Param("pMin")String pMin,@Param("pMax")String pMax,@Param("rname")String rname);
}
